export default [
  {
    path: "/dayHome",
    name: "DayHome",
    component: () => import("@/pages/day/index"),
    meta: {
      title: "每日巡检"
    },
  },
  {
    path: "/dayPlanDetail",
    name: "DayPlanDetail",
    component: () => import("@/pages/day/planDetail"),
    meta: {
      title: "计划详情"
    },
  },
  {
    path: "/dayPlans",
    name: "DayPlans",
    component: () => import("@/pages/day/plans"),
    meta: {
      title: "检查计划"
    },
  },
  {
    path: "/dayRecords",
    name: "DayRecords",
    component: () => import("@/pages/day/records"),
    meta: {
      title: "表单记录"
    },
  },
  {
    path: "/dayRecordDetail",
    name: "DayRecordDetail",
    component: () => import("@/pages/day/recordDetail"),
    meta: {
      title: "表单详情"
    },
  },
  {
    path: "/point-forms/:qrCode",
    name: "PointsForms",
    component: () => import("@/pages/day/pointForm"),
    meta: {
      title: "扫一扫"
    },
  },
  {
    path: "/point-forms/scan",
    name: "PointsScan",
    component: () => import("@/pages/day/scan"),
    meta: {
      title: "扫一扫"
    },
  },
  {
    path: "/energyHome",
    name: "EnergyHome",
    component: () => import("@/pages/energy/index"),
    meta: {
      title: "能耗管理"
    },
  },
  {
    path: "/energyDetail",
    name: "EnergyDetail",
    component: () => import("@/pages/energy/detail"),
    meta: {
      title: "能耗异常详情"
    },
  },
  {
    path: "/repairHome",
    name: "RepairHome",
    component: () => import("@/pages/repair/index"),
    meta: {
      title: "报修推送"
    },
  },
  {
    path: "/repairForm",
    name: "RepairForm",
    component: () => import("@/pages/repair/form"),
    meta: {
      title: "提交报修"
    },
  },
  {
    path: "/repairList",
    name: "RepairList",
    component: () => import("@/pages/repair/list"),
    meta: {
      title: "我的报修"
    },
  },
  {
    path: "/repairInfo",
    name: "RepairInfo",
    component: () => import("@/pages/repair/info"),
    meta: {
      title: "我的任务"
    },
  },
  {
    path: "/repairNotes",
    name: "RepairNotes",
    component: () => import("@/pages/repair/notes"),
    meta: {
      title: "我的工单"
    },
  },
  {
    path: "/repairDetail",
    name: "RepairDetail",
    component: () => import("@/pages/repair/detail"),
    meta: {
      title: "报修详情"
    },
  },
  {
    path: "/dayHome",
    name: "DayHome",
    component: () => import("@/pages/day/index"),
    meta: {
      title: "每日巡检"
    },
  },
  {
    path: "/photoAdd",
    name: "PhotoAdd",
    component: () => import("@/pages/photo/add.vue"),
    meta: {
      title: "隐患报送"
    }
  },
  {
    path: "/photoApprove",
    name: "PhotoApprove",
    component: () => import("@/pages/photo/approve.vue"),
    meta: {
      title: "隐患详情",
      nLogin: true
    }
  },
  {
    path: "/photo",
    name: "Photo",
    component: () => import("@/pages/photo/index.vue"),
    meta: {
      title: "隐患列表",
      nLogin: true
    }
  },
  {
    path: "/test",
    name: "Test",
    component: () => import("@/pages/test/index.vue"),
    meta: {
      title: "考试列表",
      nLogin: true
    }
  },
  {
    path: "/testForm",
    name: "TestForm",
    component: () => import("@/pages/test/form.vue"),
    meta: {
      title: "考试任务",
      nLogin: true
    }
  },
  {
    path: "/testList",
    name: "TestList",
    component: () => import("@/pages/test/list.vue"),
    meta: {
      title: "答题记录",
      nLogin: true
    }
  },
  {
    path: "/testData",
    name: "TestData",
    component: () => import("@/pages/test/data.vue"),
    meta: {
      title: "数据概览",
      nLogin: true
    }
  }
]